# Contributor: Timo Teräs <timo.teras@iki.fi>
# Maintainer: Timo Teräs <timo.teras@iki.fi>
pkgname=fortify-headers
pkgver=1.1
pkgrel=3
pkgdesc="standalone fortify source implementation"
url="http://git.2f30.org/fortify-headers/"
arch="noarch"
options="!check"  # No test suite.
license="0BSD"
source="http://dl.2f30.org/releases/fortify-headers-$pkgver.tar.gz
	0001-add-initial-clang-support.patch
	0002-avoid-__extension__-with-clang.patch
	0003-Disable-wrapping-of-ppoll.patch
	"

package() {
	make DESTDIR="$pkgdir" PREFIX=/usr install
}

sha512sums="
a39d6e7c002bf91085f712aa46bc3f53ff934cc963694a229fa82d84ff4a7556105212a84a231ab5367c01c6a1e385172173f1f4a34d5eb4d2d9c58472c23dd0  fortify-headers-1.1.tar.gz
eeeb4ca86cd59eb0ec3cfab004c9b7b4a4fd9a6c5db8e97d4fd5fda959249553a0a020653cd87e833799bbd2aba2ae628a9e8805272146bd7f895ba6624cdeef  0001-add-initial-clang-support.patch
4737e6de59ab65e4c8eb285fb716932558c6238f6f0e303eeebfacb106306959fa567d1dc23e2364b1561a06f0013e2fa2e7e7d0ab7dd8c13095a7192d451e89  0002-avoid-__extension__-with-clang.patch
90d9dfee98b2fb8536f20588ce6017a0d69d1ad12033515f140e3a201eeb0b61be72796dddfb8fc0ccb0fccce202c9206c9db159e3f7ef4c4de4474793c01333  0003-Disable-wrapping-of-ppoll.patch
"
